<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			let arr = [1,3,7,11,12];
			let arr1 = [2,3,4,8,11,14];
			let arr2 = [...arr,...arr1];
			arr2.sort((a, b) => a - b);
			console.log(arr2)
		</script>
	</body>
</html>
